import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'storeCurrent',
})
export class StoreCurrentPipe implements PipeTransform {

  transform(value: unknown, ...args: unknown[]): unknown {
    if (value && value === true) {
      return '已激活';
    }
    return '未激活';
  }

}
